package com.facexue.miniprogram.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Configuration
@PropertySource("classpath:application.yml")
@ConfigurationProperties(prefix = "wechat.pay")
@Data
@Schema(title = "微信支付常量", description = "微信支付静态常量类")
public class WxPayConfig {
	private String mchId;
	@Schema(title = "商户API证书序列号")
    private String mchSerialNo;

	@Schema(title = "商户私钥文件")
    private String privateKeyPath;

	@Schema(title = "APIv3密钥")
    private String key;

	@Schema(title = "APPID")
    private String appid;

	@Schema(title = "微信服务器地址")
    private String domain;

	@Schema(title = "接收结果通知地址")
    private String notifyDomain;
}
